<div class="fui-messages">
  <fui-message *ngFor="let message of messages; let i = index" [message]="message" [index]="i"></fui-message>
</div>
